package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author zjr
 * @version 1.0
 */
public interface SupplierDao {

    List<Supplier> supplierList(Integer page, Integer rows, String supplierName);

    void saveSupplier(Integer supplierId, Supplier supplier);

    void insert(@Param("supplier") Supplier supplier);

    void deleteSupplier(@Param("ids")String ids);
}
